package com.neusoft.databus.agent.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.neusoft.bizcore.web.dto.result.ResultDTO;
import com.neusoft.databus.common.dto.ResourceDTO;

@FeignClient("core")
public interface CoreMicroService extends AssociateResourceService {
    @Override
    @RequestMapping(method = RequestMethod.GET, value = "/api/w/resources/searchByAssociate/{associate}")
    ResultDTO<ResourceDTO> findResource(@PathVariable final String associate);
}
